[LAYOUT]
<html>
<head>
    <title>SambaPOS Restaurant</title>
</head>           
            
<body style="margin:0px; padding:0px; font-family:Calibri;">

        
    </div>
    <div style="width:100%;">
        <table style="width: 90%; position:relative; top:50px; height:auto; margin: 0 auto;text-align: center;border-collapse: collapse;">
            <thead style="background: #17024D; color:#FFFFFF;">
                <tr>
                    <th style="padding: 10px 0px;">Quantity</th>
                    <th style="text-align:left !important;">Product Name</th>
                    <th>Unit Price</th>
                    <th>Total</th>
                </tr>
            </thead>
            <tbody>




            {ORDERS}
            </tbody>
           </tr>
        </table>
    </div>
    <div style="width:100%; font-size:32px; position:fixed; bottom:0px; left:0px;background:#17024D; color:#FFFFFF; margin:0px; text-align:center">
        TOTAL : {TICKET TOTAL}
    </div>
</body>
</html>

[ORDERS]
	<tr style="border-top: 3px solid #EEEEEE;">
	    <td style="padding: 10px 0px;font-size: 15px;">{QUANTITY}</td>
	    <td style="text-align:left !important;">{NAME}</td>
	    <td>{PRICE}</td>
	    <td>{TOTAL AMOUNT}</td>
	</tr>
	{SORTED ORDER TAGS}


[SORTED ORDER TAGS]
<tr style="font-size:12px;">
<td style="color:#bd1622;"></td>
<td style="color:#bd1622;text-align:left !important;">{ORDER TAG QUANTITY} x {ORDER TAG NAME}</td>
<td style="color:#bd1622;">[=F(TN('{ORDER TAG QUANTITY}')*TN('{ORDER TAG PRICE}'))]</td>
<td style="color:#bd1622;"></td>
</tr>